﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;

namespace UnfriendlyFire.Models
{
    [MetadataType(typeof(RankedOfficer.Metadata))]
    public partial class RankedOfficer
    {
        class Metadata
        {
            [Required]
            [DataType(DataType.Text)]
            [DisplayName("First Name")]
            public string FirstName { get; set; }

            [Required]
            [DataType(DataType.Text)]
            [DisplayName("Last Name")]
            public string LastName { get; set; }

            [DisplayName("Rank")]
            public int RankTitle { get; set; }
        }
    }
}